package com.foreknow.demo5;

public class Dog extends Pet{

    @Override
    public void toHospital() {
        this.setHealth(60);
        System.out.println("吃药、打针");
    }

    public void catchFly(){
        System.out.println("玩飞盘游戏----");
    }
}
